package com.rd.student.ruanjian.class4.zhouzihe.day21;

import java.util.Arrays;

public class ArrPractice {
    public static void main(String[] args) {
        int[] arr1 = {1, 3, 5, 7, 9, 11, 13, 15, 17, 0};
        int[] arr2 = {10, 11, 13, 15, 17};
        int[] arr3 = new int[10];
        System.arraycopy(arr1, 0, arr3, 0, 5);
        System.arraycopy(arr2, 0, arr3, 5, 5);
        System.out.println(Arrays.toString(arr3));

    }
}